Skip to content

Conversation

@junbaibai0719
Copy link

我想在运行时用户操作后生成一些自定义方法,修改了schema的methods,然后重新生成js code,发现一个兼容性问题,如果我在前端页面没有先打开js编辑器的面板的话,所有的function都会变成funcName funcName这种形式

        (schema.componentsTree[0] as any).originCode = undefined;
        (schema.componentsTree[0] as any).originCode = await schema2JsCode(schema);

image

@CLAassistant
Copy link

CLAassistant commented Dec 31, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants